package flow;

public class switch3 {
    public static void main(String[] args) {
        int a = 10;
        //short a = 10;
        double b1 = 0.1;
        double b2 = 0.2;
        double c = b1 + b2;
        System.out.println(c);


        int i = 20;
        int d = 10;
        switch (1){
            case 10:
                //case d:  只能是数字，不能为变量
                break;
            case 20:
                break;
        }
    }
}
